package com.frank.stock4j.tusharepro.bean;

import com.frank.stock4j.tusharepro.BaseBean;
import com.frank.stock4j.tusharepro.http.BaseRequestParam;

/**
* 描述：获取主流新闻网站的快讯新闻数据
* @author: codesmith
**/
public interface NewsBean extends BaseBean {
    String API_NAME = "news";
    
    interface Fields {
    String datetime = "datetime";    //新闻时间
    String content = "content";    //内容
    String title = "title";    //标题
    String channels = "channels";    //分类
    }
    
    interface Params {
        start_date start_date = new start_date();
        /*
        * 开始日期
        */
        class start_date extends BaseRequestParam {
            { key = "start_date"; }
        }
        end_date end_date = new end_date();
        /*
        * 结束日期
        */
        class end_date extends BaseRequestParam {
            { key = "end_date"; }
        }
        src src = new src();
        /*
        * 新闻来源 见下表
        */
        class src extends BaseRequestParam {
            { key = "src"; }
        }
    }
}